package store.lunangangster.engine.impl.calendar;

import java.util.Date;
import org.joda.time.DateTime;

public class DateCalendar implements BusinessCalendar{

  public static final String name = "date";

  @Override
  public String getName() {
    return name;
  }

  @Override
  public Date resolveDateString(String dateString) {
    return DateTime.parse(dateString).toDate();
  }
}
